Terminal having plural playback pointers for jitter buffer

ABSTRACT

A terminal ( 30, 30 B) receives transmissions in a form of a media stream. The terminal comprises a jitter buffer ( 40 ) which receives data comprising the media stream and a buffer manager ( 80 ). The buffer manager ( 80 ) makes a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer. In an example implementation, the buffer manager ( 80 ) updates at least one of the plural playback pointers. The manner and timing of the updating of the least one of the plural playback pointers can occur in any of a variety of ways. The terminal ( 30, 30 B) can take various forms, and may be (for example) either a wireless terminal which receives the media stream across a radio interface, or a wireline terminal.

BACKGROUND

1. Field of the Invention

The present invention pertains to structure and operation of terminals which receive transmissions in the form of media streams.

2. Related Art and Other Considerations

Public Land Mobile radio Network (PLMN) is a generic term for a mobile wireless network that is centrally operated and administrated by an organization and uses land-based radio frequency transmitters or base stations as network hubs. PLMNs can stand alone and interconnect with one another or connect to a fixed system such as the PSTN.

In the near future there will be an increasing traffic load on the packet switched part of the PLMNs, such as GSM/GPRS, UMTS (WCDMA) and CDMA2000. One service that utilizes packet switched bearers is referred to as Push to talk over Cellular (PoC). Push to talk over Cellular (PoC) is currently being standardized and agreed upon in an industry consortium known as the Open Mobile Alliance (OMA) forum. See, http://www.openmobilealliance.com/tech/wg_committees/poc.html and OMA PoC User Plane, OMA-UP-POC=VO_(—)1-20041005-D, Draft Version 1.0.9 October 2004, incorporated herein by reference.

Push-to-talk over Cellular (PoC) is being developed for handsets in networks such as GSM/GPRS networks, EDGE networks, UMTS, and CDMA systems. PoC is basically a voice chat for cellular telecommunication systems. PoC provides quick one-to-one or group communication, providing something like a short instant messaging service which feels like “walkie talkies”.

PoC enabled handsets will most likely be equipped with a PoC-button. The PoC button may (for example) be: a dedicated hardware button; an assigned button on a standard keypad; or, a software button used in e.g. pressure sensitive screens. When the PoC button is pressed, the handset is connected directly to another user or user group. The first releases of PoC provide half-duplex service, although full duplex may be available at a later stage.

Combinational services enrich the Circuit-Switched (CS) voice service of today, with images and video-clips. The images and/or video-clips would utilize the packet switched (PS) part of the PLMNs when being transferred from one user's client to another user's client.

Much effort and investment has been made to develop a fully packet switched solution for voice communication. Such solution is often referred to as Voice over IP (VoIP) since it is assumed that the Internet Protocol (IP) will be used to carry the media. Now this work will be reused to further enhance VoIP. It is anticipated that in the near future it will be possible to offer combinations of, for example, PoC with video and/or images, and VoIP with video and/or images, even over current deployed PLMNs.

Services that combine voice and image/video (regardless if the voice is packet switched or circuit switched) sometimes go under the name Push to Show services.

Devices that receive media streams (including media streams which are provided or are part of Push to talk over Cellular (PoC) and/or Push to Show services) generally have a buffer, commonly known as a jitter buffer, for temporary storage and (when necessary) reordering of packets. The jitter buffer typically serves to smooth out interruptions in the media stream in order to provide downstream equipment in the receiver, e.g., a speech decoder, with an essentially continuous stream of data. Conventionally the jitter buffer has a play out pointer which locates or identifies a position in the jitter buffer from which data of the media stream is to be read out or “rendered”. Jitter buffers are generally known in the context of reception of media streams and elsewhere, as evidenced by the following (all of which are incorporated herein by reference in their entireties): US Patent Application Publication US 2003/0152093; US Patent Application Publication US 2004/0037320; US Patent Application Publication US 2004/0062260; US Patent Application Publication US 2004/0073692; US Patent Application Publication US 2004/0076190; US Patent Application Publication US 2004/0156622; US Patent Application Publication US 2002/0120749; U.S. Pat. No. 6,747,999; U.S. Pat. No. 6,684,273; U.S. Pat. No. 6,658,027; U.S. Pat. No. 6,418,125; U.S. Pat. No. 5,350,271.

Adaptive jitter buffers presently have only one single play out point that is estimated and changed during a session. This means that such jitter buffers have one algorithm that continuously tries to estimates the optimal amount of data that should be in the jitter buffer. One common approach is for the adaptive jitter buffer algorithm to use averages of statistical measures like standard deviation and variance to find out the optimal play out point for the jitter buffer for every point in time. The drawback is that such “averaging” algorithms do not react well to changes of channel settings, media settings or other settings that will abruptly change the characteristics of the transport or the media.

Algorithms for adaptive play out buffers commonly adapt the size of the buffer prior to the session, and try to keep the same buffer size from there on by adaptively changing either the transmission rate or the encoding rate of the media stream. The basic idea is that the receiving side is continuously sending information about its jitter buffer status to the streaming server. The streaming server can then adapt the rate of the media stream according to the received information. The drawback with the streaming approach is that it needs relatively large jitter buffers (in the order of a few seconds) to perform the adaptation due to the “rather slow” mechanism of reporting back the buffer status, which make this approach less useful for real-time services.

Applications utilizing the Real-time Transport Protocol (RTP) use the RTP Control Protocol (RTCP) for synchronizing RTP streams, for example an audio stream with a video stream as in video-telephony service. Real-time Transport Protocol (RTP) is described, e.g., in IETF, “RTP: A Transport Protocol for Real-Time Applications”, RFC 3550, July 2003, incorporated herein by reference.

One problem is how to accurate set the media (e.g. audio, video, image) playback/rendering point to optimize the end-to-end (E2E) content delivery performance. This problem may arise in various situations. For example, the delay of the path of transfer may drastically change due to changes of transport related settings or states in the nodes involved in the transport. As a second example, the media type may change to a type that needs more or fewer bits in the jitter buffer to work properly. As a third example, a media type may be added during the media session, which call for added delay in the jitter buffer due to synchronization.

A channel type switch such as that which occurs in wideband code division multiple access (WCDMA) is one illustration of the first example problem situation for a packet switched audio service, such as VoIP or PoC. WCDMA is described, e.g., in 3GPP, “Technical Specification Group Radio Access Network; Radio Resource Control (RRC), Protocol Specification”, TS 25.331 V4.13.0, March 2004. Consider FIG. 4, which depicts the Radio Resource Control (RRC) state machine of WCDMA. The RRC state starts up in idle mode. When data is to be transmitted, the RRC state may go to CELL_DCH or to CELL_FACH. When the transmitter throughput drops below a certain limit during a certain time period, a channel type down switch to CELL_FACH is executed. After yet some time without any new data the RRC state will switch down further to idle mode. However, if data is received prior to the down switch to idle mode, then depending on the amount of data (e.g., the Radio Link Control (RLC) buffer reaches a certain threshold), the RAB is switched to RRC state CELL_DCH. The problem for the audio is that some media will be transferred during the CELL_FACH state, and when the state switch occurs there will be a delay in the transmission of the media with the result of an annoying gap in the play out of audio to the recipient.

The PoC includes a concept called “user plane adaptation” which provides an illustration of the second example problem situation. The user plane adaptation algorithm collects information about the capacity of each terminal's downlink using the Session Description Protocol (SDP). From that information the PoC server informs all terminals of how much bandwidth the media stream can consume.

The way the bandwidth of the media stream is altered in PoC is by changing the number of speech coder frames in one IP packet. The SDP-parameter used for this purpose is a ‘ptime’ (packet time) parameter. The ptime parameter describes the amount of time the playback of the media in the IP packet will take. By altering the value of ptime from 20 ms to 160 ms, the bit rate of an IP stream conveying AMR5.15 frames can be reduced from 22.0 kbps to 7.6 kbps.

The implication for the jitter buffer when changing the ptime parameter is that the frequency of media reception is changed as well as the amount of media that is changed. Therefore different ptime values call for different jitter buffer depths. A drastic change of ptime may happen if Mobile IP handover is performed so that RObust Header Compression (ROHC) is enabled.

An illustration of the third problem situation occurs when a service is ongoing and sending one type of media and another media type is activated, e.g. a combination of VoIP and real-time video. Under such circumstances of adding a new media type, the play out point in the jitter buffer for the media stream may have to be changed. The reason is that video typically needs longer buffering time than voice. For instance, a low bandwidth scenario may have a video rate of four frames per second and therefore each frame corresponds to 250 ms of media. If the jitter buffer must hold three frames to achieve reasonable quality this means that 750 ms of video is stored in the jitter buffer. Therefore, when adding synchronized real-time video to VoIP the application has to delay the speech in the jitter buffer for as long as the buffering of the video stream by adjusting the play out point.

What is needed, therefore, and an object of the present invention, is an improved technique for reading out media stream data from a jitter buffer.

BRIEF SUMMARY

A terminal receives transmissions in a form of a media stream The terminal comprises a jitter buffer which receives data comprising the media stream and a buffer manager. The buffer manager makes a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer. The terminal can take various forms, and may be (for example) either a wireless terminal which receives the media stream across a radio interface, or a wired terminal (e.g., wireline terminal).

In one example implementation, the buffer manager makes the selection between the plural playback pointers as a function of one or more of the following: (a) layer 2 interactions; (b) media type, (c) media settings; (d) service type; (e) time.

In an example implementation, the buffer manager updates at least one of the plural playback pointers. The manner and timing of the updating of the least one of the plural playback pointers can occur in any of a variety of ways. For example, the buffer manager can update the at least one of the plural playback pointers when the jitter buffer is receiving data comprising the media stream. Alternatively or additionally, the buffer manager can update the at least one of the plural playback pointers when the at least one of the plural playback pointers is the operative playback pointer.

In an example embodiment, updating of the at least one of the plural playback pointers can be as a function of at least one of: (1) estimated intervals of experienced path of transfer delays; (2) media type; (3) combination of media types; (4) services combinations.

In one example implementation wherein the media stream is acquired by the terminal at different times over channels of different channel type, the selection between the plural playback pointers as the operative playback pointer is based on the channel type of the channel which is carrying the media stream. For example, a first of the plural playback pointers is used for play out of the media stream when the media stream is acquired over a dedicated channel, and a second of the plural playback pointers is used for play out of the media stream when the media stream is acquired over a common channel.

In another example implementation, the selection between plural playback pointers is based on an amount of time that playback of a packet of the media stream will take. As an example, a determination regarding the amount of time that playback of a packet of the media stream will take makes involves by obtaining a parameter from the media stream, such as (for example) a ptime parameter of Session Description Protocol (SDP).

In yet another example implementation, the selection between plural playback pointers depends on whether plural types of media are included in the media stream. For example, a first of the plural playback pointers is used for play out of the media stream when only one type of media (e.g., audio) is included in the media stream, whereas a second of the plural playback pointers is used for play out of the media stream when more than one type of media (e.g., video combined with the audio) is included in the media stream.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, features, and advantages of the invention will be apparent from the following more particular description of preferred embodiments as illustrated in the accompanying drawings in which reference characters refer to the same parts throughout the various views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.

FIG. 1A is a schematic view of a generic telecommunications system with a radio access network which serves as a first example context in which the present invention may be employed.

FIG. 1B is a schematic view of a generic wireline system which serves as an a second example context in which the present invention may be employed.

FIG. 2A is a schematic view of example constituent components of a generic representative wireless terminal.

FIG. 3 is a diagrammatic view illustrating a plural playback pointer aspect of a jitter buffer and certain logic executed by a buffer manager in controlling jitter buffer.

FIG. 3A is a diagrammatic view illustrating selection of a first of plural playback pointer as an operative playback pointer.

FIG. 3B is a diagrammatic view illustrating selection of a second of plural playback pointer as an operative playback pointer.

FIG. 4 is a diagrammatic view showing various modes and states of a wireless terminal.

DETAILED DESCRIPTION OF THE DRAWINGS

In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular architectures, interfaces, techniques, etc. in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail. Moreover, individual function blocks are shown in some of the figures. Those skilled in the art will appreciate that the functions may be implemented using individual hardware circuits, using software functioning in conjunction with a suitably programmed digital microprocessor or general purpose computer, using an application specific integrated circuit (ASIC), and/or using one or more digital signal processors (DSPs).

FIG. 1A illustrates a generic telecommunications system as a first example context in which the present invention may be employed. The first example system includes both a radio access network 10 and a core network 14. The core network 14 is shown as being connected to a service node or service network 16. The service network 16 (or other comparable entity) includes a PoC Server 18 which facilitates the Push to talk over Cellular (PoC) service previously described.

In one specific example implementation the core network 14 is a connectionless external core network and comprises Serving GPRS Support Node (SGSN) 20 and Gateway GRPS support node (GGSN) 21. The General Packet Radio Service (GPRS) Service (SGSN) node 20 is tailored to provide packet-switched type services. The Gateway GRPS support node (GGSN) 21 provides the interface towards the packet-switched networks (e.g., the Internet, X.25 external networks). The Gateway GRPS support node (GGSN) 21 translates data formats, signaling protocols and address information in order to permit communication between the different networks. Serving GPRS Support Node (SGSN) 20 provides packet routing to and from a SGSN service area, and serves GPRS subscribers which are physically located within the SGSN service area. Serving GPRS Support Node (SGSN) 20 provides functions such as authentication, ciphering, mobility management, charging data, and logical link management toward the user equipment unit. A GPRS subscriber may be served by any SGSN in the network depending on location. The functionality of Serving GPRS Support Node (SGSN) 20 and Gateway GRPS support node (GGSN) 21 may be combined in the same node, or may exist in separate nodes as shown in FIG. 1A.

The core network 14 connects to radio access network 10 over a radio access network interface depicted by dot-dashed line 22. The radio access network 10 includes one or more control nodes 26 and one or more radio base stations (BS) 28. In an example, non-limiting implementation in which radio access network 10 is a UMTS Terrestrial Radio Access Network (UTRAN), the radio access network interface depicted by dot-dashed line 22 is known as the Iu interface, and the control nodes 26 take the form of radio network controllers (RNCs). In other implementations of radio access network 10, the control nodes 26 can have other names, such as base station controller (BSC), for example. In any event, it should be understood that, for sake of simplicity, the radio access network 10 of FIG. 1A is shown with only one control node 26, with the control node 26 being connected to two base stations (BS) 28. As understood by those skilled in the art, the radio access network 10 typically has numerous control nodes 26, which can be connected over an unillustrated interface (such as an Iur interface). Again for sake of simplicity, only two base station nodes 28 are shown connected to the representative control node 26. It will be appreciated that a different number of base stations 28 can be served by each control node 26, and that control nodes 26 need not serve the same number of base stations. Further, those skilled in the art will also appreciate that a base station is sometimes also referred to in the art as a radio base station, a node B, or B-node.

For brevity it is assumed in the ensuing discussion that each base station 28 serves one cell. It will be appreciated by those skilled in the art, however, that a base station may serve for communicating across the air interface for more than one cell. For example, two cells may utilize resources situated at the same base station site. Moreover, each cell may be divided into one or more sectors, with each sector having one or more cell/carriers.

A wireless terminal 30 communicates with one or more cells or one or more base stations (BS) 28 over a radio or air interface 32. In differing implementations, the wireless terminal 30 can be known by different names, such as mobile station or MS, mobile terminal or MT, or user equipment unit (UE), for example. Of course, whereas for ease of illustration only one wireless terminal 30 is shown in FIG. 1A, each base station typically serves many wireless terminals.

In the example UMTS implementation mentioned above, radio access is preferably based upon Wideband, Code Division Multiple Access (WCDMA) with individual radio channels allocated using CDMA spreading codes. Of course, other access methods may be employed.

Of particular interest herein is the fact that, for or in conjunction with services such as Push to talk over Cellular (PoC), the wireless terminal 30 has a jitter buffer 40 which has plural playback pointers, as hereinafter described.

Example constituent components and functionalities of a generic representative wireless terminal 30 are illustrated in FIG. 2A. The generic representative wireless terminal 30 comprises an antenna 50 which connects to a transmitter/receiver 52. The transmitter/receiver 52 is connected through a hardware interface 54 to a protocol stack 56. Frames of a media stream received over the air interface 31 by transmitter/receiver 52 are processed by protocol stack 56. The protocol stack 56 generally includes access dependent protocols; internet protocol; a transport protocol; and, an application protocol. The particular example protocol stack 56 shown in FIG. 2A happens to include Access dependent protocols 58; Internet Protocol 60; UDP Protocol 62 (as the transport protocol); and Real Time Protocol (RTP) 64 (as the application protocol). The protocol stack 56 can be constructed differently in other implementations.

UDP (User Datagram Protocol) 62 is a transport service which is provided to a software application (such as application 70) that uses an IP network for communication. The UDP transport service provides additional functionality on top of the IP network transport function. UDP transport service operates end-to-end on a data flow. The UDP protocol 62 is not involved in intermediate nodes in the IP network, only the nodes where the data flow originates and terminates.

The Real Time Protocol (RTP) 64 is performed by an application 70. The application 70, like various other functionalities of a terminal platform portion 72 of wireless terminal 30 (including protocols in protocol stack 56), is preferably executed by one or more processors which comprise wireless terminal 30. In some example implementations, application 70 and jitter buffer 40 may be integrated into terminal platform 72. The application 70 serves, e.g., to remove RTP headers and to pass a frame and a timestamp of the frame to jitter buffer 40. Examples of applications which perform such functions are: network audio conferencing tools; network video conferencing tools; IP telephony tools; and packet switched streaming tools

The terminal platform portion 72 of wireless terminal 30 includes the jitter buffer 40 which operates under control of a buffer manager 80. The jitter buffer 40 is preferably implemented in software (e.g., by instructions executed by one or more of the processors comprising wireless terminal 30), and uses hardware memory allocated to application 70 when running on terminal platform portion 72. Under control of buffer manager 80, jitter buffer 40 stores data of the media stream in a way to smooth out interruptions in the media transfer, thereby preferably feeding speech decoder 82 with a continuous stream of data. Also, jitter buffer 40 operating under control of buffer manager 80 performs re-ordering of packets (if needed), and removes or discards duplicate frames by using the timestamps of the frames.

In addition to the plural playback pointer feature described herein, the jitter buffer 40 may optionally have other capabilities or characteristics such as being adaptive, e.g., adjusting its depth according to one or more characteristics of the channel over which the media stream is received. Service knowledge may be utilized as input to the jitter buffer 40 or to buffer manager 80 to help with certain tasks such as determining with how many packets jitter buffer 40 should be filled to secure the continuous stream of data from jitter buffer 40.

The terminal platform portion 72 of wireless terminal 30 may also include a sample buffer 86 which is connected between speech decoder 82 and digital to analog converter (DAC) 88. In an example implementation, sample buffer 86 can buffer at least one hundred sixty samples of speech with 8 kHz audio bandwidth between the speech decoder 82 and digital to analog converter (DAC) 88, and may be even larger in order to hold a few extra milliseconds of speech. For VoIP, the sample buffer 86 can be on the order of 480 samples, and for PoC the sample buffer 86 can be over 1000 samples (160 samples=20 milliseconds). The digital to analog converter (DAC) 88 is connected to media playback device(s) 90, such as a speaker or head-set (perhaps via, e.g., an amplifier).

FIG. 1B illustrates a wireline network as a second example context in which the present invention may be employed. The second example system includes a network node 10B which comprises a media stream source or media stream server 18B. The network node 10B is connected to terminal 30B over a wireline communication link 32B.

As shown in FIG. 2B, the terminal 30B of the FIG. 1B example context resembles wireless terminal 30 of FIG. 2A with various exceptions. As examples of the exceptions, the wireline communication link 32B which serves as the interface to the network node 10B connects to a hardware interface 54B of terminal 30B. In addition, terminal platform 72B of terminal 30B comprises a protocol stack 56B. The protocol stack 56B of terminal 30B may have one or more protocols that differ from the protocol stack illustrated in FIG. 2A. For example, the protocol stack 56B of FIG. 2B may differ by having a different set of access dependent protocols 58B. For the case of the terminal being connected by a wired network, the access dependent protocols 58B may be, for example, “MAC_client (802 specific)/MAC (802.3 specific)/Physical_layer” when the wired network includes Ethernet (IEEE 802.3). In other respects, the remaining components of terminal 30B and operation thereof are essentially similar to like numbered components of terminal 30A, including jitter buffer 40.

In other embodiments, whether wireless or wireline connection, the protocol stack may have a different composition depending, e.g., upon the nature of the particular access technology (e.g., GSM/GPRS, WCDMA, Ethernet, etc). For example, for a GSM/GPRS system the protocol stack for the terminal would be essentially the same as that of FIG. 2A, but with the access dependent protocols 58 being “GSM_RF(physical layer)/MAC/RLC/SNDCP”. As an aside, the person skilled in the art will understand that often various additional techniques are employed to make Internet Protocol useful for mobile terminals, such as compression, P-headers in SIP, and so forth.

Since it is apparent that the terminal may take either wireless or wireline forms, it should also be apparent that the terminal may be any of myriad devices or appliances, such as mobile phones, mobile laptops, pagers, personal digital assistants or other comparable mobile devices, SIP phones, stationary computers and laptops equipped with a real-time application, such as Microsoft netmeeting, Push-to-talk client etc.

FIG. 3, FIG. 3A, and FIG. 3B, illustrate the plural playback pointers aspect of jitter buffer 40 and certain logic executed by buffer manager 80 in controlling jitter buffer 40, and particularly in controlling the plural playback pointers. Hereinafter, description of the jitter buffer 40 and its operation is, unless otherwise excepted specifically or by context, applicable to either the wireless terminal 30 (of FIG. 2A and the context of FIG. 1A ) or the wireline terminal 30B (of FIG. 2B and the context of FIG. 1B). The particular embodiment of buffer manager 80 shown in FIG. 3 includes a playback control function 100 and a playback pointer selector 112.

FIG. 3 further shows jitter buffer 40 as having two playback pointers, i.e., playback pointer1 and playback pointer2. It will be appreciated that the invention concerns plural playback pointers, and that for convenience only two playback pointers have been illustrated in FIG. 3. Yet the person skilled in the art will readily understand that two or more playback pointers may be provided and operate as herein described.

Buffer manager 80 has a locator function for each of the playback pointers. In particular, for playback pointer1 the buffer manager 80 includes a playback pointer1 locator function 121 and for playback pointer2 the buffer manager 80 includes a playback pointer2 locator function 122. For whichever of the playback pointers is selected to be operative at the moment, the respective playback pointer locator function points to, keeps track, or indicates the position in jitter buffer 40 from which the media stream is to be retrieved, read, or rendered.

The position in jitter buffer 40 from which the media stream is to be retrieved can be expressed in terms of time, bytes, or number of frames, for example. In the computer/terminal or processor comprising the terminal platform, there is a memory pointer that points to a start or beginning of the buffer as well as the playback pointer. The playback pointer points a certain number of bytes from the start of the buffer. So when data fills up the jitter buffer 40 to the position indicated by the playback pointer, such triggers removal and sending of data from the jitter buffer 40 to the speech decoder 82.

As an optional feature, one or more and preferably both of the playback pointers are adjustable to point to different locations in jitter buffer 40 at different times. This adjustability is illustrated in FIG. 3 by arrow 131 for playback pointer1 and arrow 132 for playback pointer2, which show the capability for the playback pointers to move along the jitter buffer 40. In view of this adjustability feature, the playback pointers can be updated based on various update factors, as illustrated by update factor input(s) 140. In the illustrated example embodiment, updating of the at least one of the plural playback pointers can be a function of at least one of: (1) estimated intervals of experienced path of transfer delays; (2) media type; (3) combination of media types; (4) services combinations. Any one or any combination of the update factors may be utilized, or other factors which may prove germane to playback pointer location. In view of the optional nature of this playback pointer updating or adjustability feature, the update factors are shown by dotted lines as inputs to playback pointer1 locator function 121 and playback pointer2 locator function 122. While shown as emanating from the same drawing block 140 in FIG. 3, it should be understood that the playback pointer update factors that are input to playback pointer1 locator function 121 may be different from the playback pointer update factors that are input to playback pointer2 locator function 122.

FIG. 3 also illustrates three thresholds. Threshold A is a threshold for minimum jitter buffer playback point setting, e.g. system/service default. In this example, this is the minimum value that playback pointer1 and playback pointer2 can have. Threshold B is maximum value of playback pointer1, and thus can be (for example) a threshold for maximum jitter buffer playback point when a dedicated channel is used. Threshold C is a threshold for maximum possible value of playback pointer2, e.g. system/service default.

FIG. 3 further illustrates two intervals. Interval A is an interval in which playback pointer1 can vary. Interval B is an interval in which playback pointer2 can vary.

Which of the playback pointer1 and playback pointer2 is operative at any given moment in time is determined by playback pointer selector 112. The playback pointer selector 112 of buffer manager 80 thus makes a selection between the plural playback pointers (e.g., playback pointer1, playback pointer2, and any other playback pointers) to determine an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer 40. In one example implementation, the playback pointer selector 112 of buffer manager 80 makes the selection between the plural playback pointers as a function of one or more of the following: (a) layer 2 interactions; (b) media type, (c) media settings; (d) service type; (e) time. These playback point selector factors are shown as input to playback pointer selector 112 from selector factor box 150 in FIG. 3.

In operation, frames of a media stream are received and passed through the protocol stack 56. For the wireless terminal of FIG. 1A, the frames of the media stream are received over air interface 30 by the receiver portion of transmitter/receiver 52 and sent to the protocol stack 56 via hardware interface 54. For the wireline terminal 30B of FIG. 1B, the frames of the media stream are received over the wire link 18B by hardware interface 54B and applied to protocol stack 56B. The application 70 serves, e.g., to remove RTP headers and to pass a frame and a timestamp of the frame to jitter buffer 40. The jitter buffer 40 has plural playback pointers, such as playback pointer1 and playback pointer2 shown in FIG. 3.

When a device such as speech decoder 82 (which is fed by jitter buffer 40) is ready for further data from the media stream, playback control function 100 of buffer manager 80 receives a playback prompt as indicated by playback prompt arrow 160 in FIG. 3. The playback control function 100 then fetches, reads, or renders the data of the media stream in jitter buffer 40 to the position indicated by which ever of the playback pointers is the operative playback pointer. The playback pointer selector 112 determines which of the plural playback pointers is the operative playback pointer, e.g., either playback pointer1 or playback pointer2. The determination made by playback pointer selector 112 is based on pointer selection factors such as one or more of the factors shown as inputs 150.

Data from the media stream is then rendered from the position indicated by the operative playback pointer. Should the playback pointer selector 112 determine that playback pointer1 is the operative playback pointer, then data obtained from the position indicated by playback pointer1 is read out from jitter buffer 40 and utilized as the rendered data which is applied to the next device (e.g., speech decoder 82), as depicted by dashed-double dotted line 161 in FIG. 3A. On the other hand, Should the playback pointer selector 112 determine that playback pointer2 is the operative playback pointer, then data obtained from the position indicated by playback pointer2 is read out from jitter buffer 40 and utilized as the rendered data which is applied to the next device, as depicted by dashed-double dotted line 162 in FIG. 3B. FIG. 3A and FIG. 3B are not necessarily intended to illustrate an exact path of data travel, but rather the selective readout or rendering of data from jitter buffer 40 in accordance with the choice of an operative playback pointer.

In one example implementation in which media is acquired at different times over a dedicated channel and a common channel. In such example implementation, playback pointer1 can be the playback pointer utilized for a dedicated channel. In one example version of this implementation, the playback pointer1 can be set with input from the estimated jitter during a talk-burst considering the jitter. Such can be done by looking at the time of arrival and the RTP timestamp. On the other hand, in such example implementation the playback pointer2 can be the playback pointer utilized for the common channel. In one example version of this implementation, the playback pointer2 can be set with input from an estimation of the channel-switch. The estimation can be done by looking at a glitch in time when channel-switching is anticipated (see threshold B of FIG. 3).

As mentioned above, the playback pointer1 can be set with input from the estimate jitter during a talk-burst considering the jitter, by looking at the time of arrival and the RTP timestamp. The RTP protocol has a RTP timestamp which uses a “sample” clock. If 160 samples are sent, then the RTP timestamp field is incremented by 160. For example, the first packet has a timestamp of 160; the second packet has a timestamp of 320; the third packet has a timestamp of 480; and so forth. In view of the known sampling frequency, these timestamps correspond to 20 milliseconds, 40 milliseconds, 60 milliseconds, etc. At the same time a clock in the terminal platform can measure the time when the packets arrive. The terminal platform clock may read (for example) one hour, four minutes, and 400 milliseconds for the first packet; one hour, four minutes, and 423 milliseconds for the second packet; one hour, four minutes, and 445 milliseconds for the third packet; and so forth. thus, when receiving the first packet, the end-to-end delay may be considered to be [(one hour, four minutes, and 400 milliseconds)−20 milliseconds]=one hour, four minutes, and 380 milliseconds. Making a similar calculation for all packets and subtracting one hour, four minutes, and 380 milliseconds leaves 0 milliseconds, 3 milliseconds, 5 milliseconds, which is the jitter for which the jitter buffer 40 should provide protection.

Thus, the jitter buffer 40 with its plural playback pointers, maintained and operated as above summarized, solves many problems including the three problem situations previously discussed. Solution of the first problem situation is exemplified by an audio session (VoIP) over WCDMA with PS-RAB. If the radio channel that the wireless terminal 30 camps on when starting to send media is the CELL_FACH (see FIG. 4), the RTP transmission will start on the common channel and then switch over to the dedicated channel (CELL_DCH). This channel switch (e.g., switch from common channel to dedicated channel) takes a certain amount of time during which media transfer is stopped. Therefore the playback point needs to be set rather high, for which reason playback pointer2 of FIG. 3 can be used to avoid a gap in the played audio.

If wireless terminal 30 resides on the dedicated channel when the media transfer starts, no time consuming channel switch is needed. Therefore, the playback point can be set low, i.e. by use of playback pointer1 in FIG. 3. The reason playback pointer1 can be used is that the “natural” jitter in the dedicated channel will be much lower than the jitter created by the channel switch. So if playback pointer2 were used, then the end-to-end audio delay becomes unnecessary long.

The choice of which playback point to use can in this example be made by calculating the time since the last media transfer. The reason for this is that a channel switch (back to the common channel) is performed a certain amount of time, t_(downswitch), after the last media transmission. So by keeping track of the time after the latest transmission, t_(last) _(—) _(media), the algorithm or logic that selects which playback pointer is the operative playback pointer is reflected by the following Strategy 1:

Strategy 1:

-   -   use playback pointer1 if t_(last) _(—) _(media)<t_(downswitch),     -   use playback pointer2 if t_(last) _(—) _(media)>t_(downswitch),

As used herein, t_(last) _(—) _(media) is a time elapsed between comparable reference points (e.g., beginning point or endpoint) of two consecutive packet transmissions. For example, when a first packet is sent or received, a first clock time is noted with reference to a system clock. Subsequently, when a next or second packet is sent or received, a second clock time is noted with reference to the system clock. The difference between these two measurements (e.g., the difference between the first clock time and the second clock time) is the value of t_(last) _(—) _(media) Thus, during relative continuous transmission, the value of t_(last) _(—) _(media) _(—) _(wmay) may be about 20 milliseconds for voice. But after a talk burst ceases, it may be a while before a new talk burst begins, with the result that the value of t_(last) _(—) _(media) _(—) _(wmay) may be about 10 seconds. The quantity t_(downswitch) on the other hand, is a threshold value. In the radio layer of UMTS, for example, there is a timer that controls channel switching. What is sought in PoC over UMTS is to obtain this timer value for use as the value of t_(downswitch). If this UMTS radio layer timer has not expired when sending a next data packet, there will be no channel switching and the transfer time variation will be rather short, which implies that only a small jitter buffer is needed. But if the UMTS radio layer timer has expired, a talk burst will trigger a channel switch, which means an interruption in the speech. The UMTS radio layer timer expired situation requires more extensive buffering. The t_(downswitch) threshold may be preconfigured, signaled, or measured. For example, the remote terminal may be preconfigured so that the t_(downswitch) threshold is set for one second. So in the first of the two cases described above, when the talk burst the 20 milliseconds for t_(last) _(—) _(media) is less than the one second t_(downswitch) threshold, playback pointer1 is utilized. In the second of the two cases described above, ten seconds is greater than the one second t_(downswitch) threshold, so that playback pointer2 is utilized.

As a variation, it is possible to replace the measurement of time with layer 2 interfaces to the radio. Layer 2 information is exchanged in the radio signaling. In some implementations the t_(downswitch) timer value can be signaled to the remote terminal (e.g. over the air interface). In other implementations, the value of the t_(downswitch) has to be measured or preconfigured.

The jitter buffer 40 with its plural playback pointers also addresses the second problem situation previously discussed. Recall that in the second problem situation the SDP-parameter “ptime” (packet time) describes the amount of time the playback of the media in the IP packet will take, and that a change in the ptime parameter may affect frequency of media reception as well as amount of media. The ptime parameter is part of the SDP protocol which is sent in SIP messages during session set-up for the service. In this second problem situation, playback pointer1 can be utilized as the operative playback pointer when the value of ptime is a lower number (such as 20). On the other hand, playback pointer2 can be utilized as the operative playback pointer when the value of ptime is a higher number (such as 160). In such case, the algorithm or logic that selects playback pointer is reflected by Strategy 2:

Strategy 2:

-   -   use playback pointer1 if ptime=low (e.g., 20)     -   use playback pointer2 if ptime=high (e.g., 160)

The jitter buffer 40 with its plural playback pointers also addresses the third problem situation previously discussed. Recall that in the third problem situation a first type of media (e.g., audio or voice) is being received and then another type of media (e.g., video) is also received, and that video typically requires longer buffering time than voice. The playback pointer1 can be used when only audio is being received, whereas playback pointer2 can be used for the audio buffer when the audio is combined with e.g. video. The algorithm or logic that selects which playback pointer is the operative playback pointer is reflected by the following Strategy 3:

Strategy 3:

-   -   use playback pointer1 if only audio     -   use playback pointer2 if audio+video

As explained and illustrated above, each playback point can be continuously estimated and updated using one or several input parameters. The continuous update of one of the playback point mentioned may be performed always, or only when receiving media, or only when the media buffer is operating using that specific playback point.

The input parameters used for estimating the playback points may be estimated intervals of experienced path of transfer delays, media type and/or combination of media types, service combinations such as VoIP and Presence and interactions with lower radio specific layers in the terminal.

The playback pointer selector 112 selects which playback point to use at every point in time. In so doing, playback pointer selector 112 can use an algorithm that is also dependent on several input parameters. The input parameters can be, for example, layer 2 interactions, the media type, media settings (e.g. ptime), the service type and time.

The structure and operation described above improves the end-to-end (E2E) content delivery performance. As the media path of transfer is not static, and ordinary adaptive jitter buffer solutions neither catch the drastic change nor set the playback/rendering point to an outliner point. The latter would unnecessary decreases the crucial (especially for PoC) E2E experienced content delivery time.

While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. 

1. A terminal which receives transmissions in a form of a media stream, the terminal comprising: a jitter buffer which receives data comprising the media stream; a buffer manager which makes a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer.
 2. The terminal of claim 1, wherein the buffer manager updates at least one of the plural playback pointers.
 3. The terminal of claim 2, wherein the buffer manager updates the at least one of the plural playback pointers when the jitter buffer is receiving data comprising the media stream.
 4. The terminal of claim 2, wherein the buffer manager updates the at least one of the plural playback pointers when the at least one of the plural playback pointers is the operative playback pointer.
 5. The terminal of claim 2, wherein the buffer manager updates the at least one of the plural playback pointers as a function of at least one of: (1) estimated intervals of experienced path of transfer delays; (2) media type; (3) combination of media types; (4) services combinations.
 6. The terminal of claim 1, wherein the buffer manager makes the selection as a function of one or more of the following: (a) layer 2 interactions; (b) media type, (c) media settings; (d) service type; (e) time.
 7. The terminal of claim 1, wherein the media stream is acquired by the terminal at different times over channels of different channel type, and wherein the buffer manager makes the selection between the plural playback pointers as the operative playback pointer based on the channel type of the channel which is carrying the media stream.
 8. The terminal of claim 7, wherein the terminal is a wireless terminal, and wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when the media stream is acquired over a dedicated channel and uses a second of the plural playback pointers for play out of the media stream when the media stream is acquired over a common channel.
 9. The terminal of claim 8, wherein the buffer manager sets the first of the playback pointers with input from an estimated jitter during a talk-burst considering the jitter.
 10. The terminal of claim 8, wherein the buffer manager sets the first of the playback pointers using a time of arrival and an RTP timestamp of frames of the media stream.
 11. The terminal of claim 8, wherein the buffer manager sets the second of the playback pointers using an estimation of a channel-switch.
 12. The terminal of claim 8, wherein the buffer manager selects between the first of the plural playback pointers and the second of the plural playback pointers by calculating a time since a last media transfer.
 13. The terminal of claim 12, wherein the buffer manager uses the first of the plural playback pointers if t_(last) _(—) _(media)<t_(downswitch) or using a second of the plural playback pointers if t_(last) _(—) _(media)>t_(downswitch), wherein t_(downswitch) is a channel switch threshold and t_(last) _(—) _(media) is a time elapsed between comparable reference points of two consecutive packet transmissions.
 14. The terminal of claim 1, wherein the buffer manager makes a determination regarding an amount of time that playback of a packet of the media stream will take and makes the selection between plural playback pointers based on the determination.
 15. The terminal of claim 14, wherein the buffer manager makes the determination by obtaining a parameter from the media stream.
 16. The terminal of claim 15, wherein the parameter is a ptime parameter of Session Description Protocol (SDP).
 17. The terminal of claim 16, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when the ptime parameter has a first value and uses a second of the plural playback pointers for play out of the media stream when the ptime parameter has a second value.
 18. The terminal of claim 17, wherein the first value is twenty and the second value is one hundred sixty.
 19. The terminal of claim 15, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when the parameter has a low value and uses a second of the plural playback pointers for play out of the media stream when the parameter has a high value.
 20. The terminal of claim 1, wherein the buffer manager makes a determination regarding whether plural types of media are included in the media stream and makes the selection between plural playback pointers based on the determination.
 21. The terminal of claim 20, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when only one type of media is included in the media stream and uses a second of the plural playback pointers for play out of the media stream when more than one type of media is included in the media stream.
 22. The terminal of claim 21, wherein the buffer manager uses the first of the plural playback pointers for play out of the media stream when only audio is being received in the media stream and uses the second of the plural playback pointers for play out of the media stream when the audio is combined with video.
 23. The terminal of claim 1, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 24. The terminal of claim 1, wherein the terminal is a wireline terminal.
 25. A terminal which receives transmissions in a form of a media stream, the media stream being acquired by the terminal at different times over channels of different channel type, the terminal comprising: a jitter buffer which receives data comprising the media stream; a buffer manager which makes a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer, at any given time the buffer manager making the selection between the plural playback pointers as the operative playback pointer based on channel type of the channel which is carrying the media stream at the given time.
 26. The terminal of claim 25, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when the media stream is acquired over a dedicated channel and uses a second of the plural playback pointers for play out of the media stream when the media stream is acquired over a common channel.
 27. The terminal of claim 25, wherein the buffer manager sets the first of the playback pointers with input from an estimated jitter during a talk-burst considering the jitter.
 28. The terminal of claim 26, wherein the buffer manager sets the first of the playback pointers using a time of arrival and an RTP timestamp of frames of the media stream.
 29. The terminal of claim 26, wherein the buffer manager sets the second of the playback pointers using an estimation of a channel-switch.
 30. The terminal of claim 25, wherein the buffer manager selects between the first of the plural playback pointers and the second of the plural playback pointers by calculating a time since a last media transfer.
 31. The terminal of claim 30, wherein the buffer manager uses the first of the plural playback pointers if t_(last) _(—) _(media)<t_(downswitch) or using a second of the plural playback pointers if t_(last) _(—) _(media)>t_(downswitch), wherein t_(downswitch) is a channel switch threshold and t_(last) _(—) _(media) is a time elapsed between comparable reference points of two consecutive packet transmissions.
 32. The terminal of claim 25, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 33. The terminal of claim 25, wherein the terminal is a wireline terminal.
 34. A terminal which receives transmissions in a form of a media stream, the terminal comprising: a jitter buffer which receives data comprising the media stream; a buffer manager which makes a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer, the buffer manager making the selection between the plural playback pointers as the operative playback pointer based on an amount of time that playback of a packet of the media stream will take.
 35. The terminal of claim 34, wherein the buffer manager makes a determination of the amount of time that playback of a packet of the media stream will take by obtaining a parameter from the media stream.
 36. The terminal of claim 35, wherein the parameter is a ptime parameter of Session Description Protocol (SDP).
 37. The terminal of claim 36, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when the ptime parameter has a first value and uses a second of the plural playback pointers for play out of the media stream when the ptime parameter has a second value.
 38. The terminal of claim 37, wherein the first value is twenty and the second value is one hundred sixty.
 39. The terminal of claim 35, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when the parameter has a low value and uses a second of the plural playback pointers for play out of the media stream when the parameter has a high value.
 40. The terminal of claim 34, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 41. The terminal of claim 34, wherein the terminal is a wireline terminal.
 42. A terminal which receives transmissions in a form of a media stream, the terminal comprising: a jitter buffer which receives data comprising the media stream; a buffer manager which makes a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer, the buffer manager making the selection between the plural playback pointers as the operative playback pointer based on whether plural types of media are included in the media stream and makes the selection between plural playback pointers based on the determination.
 43. The terminal of claim 42, wherein the buffer manager uses a first of the plural playback pointers for play out of the media stream when only one type of media is included in the media stream and uses a second of the plural playback pointers for play out of the media stream when more than one type of media is included in the media stream.
 44. The terminal of claim 42, wherein the buffer manager uses the first of the plural playback pointers for play out of the media stream when only audio is being received in the media stream and uses the second of the plural playback pointers for play out of the media stream when the audio is combined with video.
 45. The terminal of claim 42, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 46. The terminal of claim 42, wherein the terminal is a wireline terminal.
 47. A method of operating a terminal comprising: receiving transmissions in a form of a media stream and storing the data comprising the media stream in a jitter buffer; making a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer; reading out the data comprising the media stream from the jitter buffer at the operative playback pointer.
 48. The method of claim 47, further comprising updating at least one of the plural playback pointers.
 49. The method of claim 48, further comprising updating the at least one of the plural playback pointers when the jitter buffer is receiving data comprising the media stream.
 50. The method of claim 48, further comprising updating the at least one of the plural playback pointers when the at least one of the plural playback pointers is the operative playback pointer.
 51. The method of claim 48, further comprising updating the at least one of the plural playback pointers as a function of at least one of: (1) estimated intervals of experienced path of transfer delays; (2) media type; (3) combination of media types; (4) services combinations.
 52. The method of claim 47, further comprising making the selection as a function of one or more of the following: (a) layer 2 interactions; (b) media type, (c) media settings; (d) service type; (e) time.
 53. The method of claim 47, further comprising: acquiring the media stream by the terminal at different times over a dedicated channel and a common channel; using a first of the plural playback pointers for play out of the media stream when the media stream is acquired over the dedicated channel; using a second of the plural playback pointers for play out of the media stream when the media stream is acquired over the common channel.
 54. The method of claim 53, further comprising setting the first of the playback pointers with input from an estimated jitter during a talk-burst considering the jitter.
 55. The method of claim 53, further comprising setting the first of the playback pointers using a time of arrival and an RTP timestamp of frames of the media stream.
 56. The method of claim 53, further comprising setting the second of the playback pointers using an estimation of a channel-switch.
 57. The method of claim 53, further comprising choosing between the first of the plural playback pointers and the second of the plural playback pointers by calculating a time since a last media transfer.
 58. The method of claim 57, further comprising using the first of the plural playback pointers if t_(last) _(—) _(media)<t_(downswitch) or using a second of the plural playback pointers if t_(last) _(—) _(media)>t_(downswitch), wherein t_(downswitch) is a channel switch threshold and t_(last) _(—) _(media) is a time elapsed between comparable reference points of two consecutive packet transmissions.
 59. The method of claim 47, further comprising: making a determination regarding an amount of time playback of a packet of the media stream will take; making the selection between plural playback pointers based on the determination.
 60. The method of claim 59, further comprising making the determination by obtaining a parameter from the media stream.
 61. The method of claim 60, wherein the parameter is a ptime parameter of Session Description Protocol (SDP).
 62. The method of claim 61, further comprising: using a first of the plural playback pointers for play out of the media stream when the ptime parameter has a first value; using a second of the plural playback pointers for play out of the media stream when the ptime parameter has a second value.
 63. The method of claim 62, wherein the first value is twenty and the second value is one hundred sixty.
 64. The method of claim 60, further comprising: using a first of the plural playback pointers for play out of the media stream when the parameter has a low value; using a second of the plural playback pointers for play out of the media stream when the parameter has a high value.
 65. The method of claim 47, further comprising: making a determination regarding whether plural types of media are included in the media stream; making the selection between plural playback pointers based on the determination.
 66. The method of claim 65, further comprising using a first of the plural playback pointers for play out of the media stream when only one type of media is included in the media stream; using a second of the plural playback pointers for play out of the media stream when more than one type of media is included in the media stream.
 67. The method of claim 66, further comprising using the first of the plural playback pointers for play out of the media stream when only audio is being received in the media stream; using the second of the plural playback pointers for play out of the media stream when the audio is combined with video.
 68. The method of claim 47, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 69. The method of claim 47, wherein the terminal is a wireline terminal.
 70. A method of operating a terminal comprising: receiving transmissions in a form of a media stream, the media stream being received by the terminal at different times over a different channel types; storing data comprising the media stream in a jitter buffer; making a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer based on the channel type then being received; reading out the data comprising the media stream from the jitter buffer at the operative playback pointer.
 71. The method of claim 70, wherein the channel types include a dedicated channel and a common channel, and wherein the method further comprises: using a first of the plural playback pointers for play out of the media stream when the media stream is acquired over the dedicated channel; using a second of the plural playback pointers for play out of the media stream when the media stream is acquired over the common channel.
 72. The method of claim 71, further comprising setting the first of the playback pointers with input from an estimated jitter during a talk-burst considering the jitter.
 73. The method of claim 71, further comprising setting the first of the playback pointers using a time of arrival and an RTP timestamp of frames of the media stream.
 74. The method of claim 71, further comprising setting the second of the playback pointers using an estimation of a channel-switch.
 75. The method of claim 71, further comprising choosing between the first of the plural playback pointers and the second of the plural playback pointers by calculating a time since a last media transfer.
 76. The method of claim 75, further comprising using the first of the plural playback pointers if t_(last) _(—) _(media)<t_(downswitch) or using a second of the plural playback pointers if t_(last) _(—) _(media)>t_(downswitch), wherein t_(downswitch) is a channel switch threshold and t_(last) _(—) _(media) is a time elapsed between comparable reference points of two consecutive packet transmissions.
 77. The method of claim 70, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 78. The method of claim 70, wherein the terminal is a wireline terminal.
 79. A method of operating a terminal comprising: receiving transmissions in a form of a media stream; storing data comprising the media stream in a jitter buffer; making a determination regarding an amount of time playback of a packet of the media stream will take; making a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer based on the determination; reading out the data comprising the media stream from the jitter buffer at the operative playback pointer.
 80. The method of claim 79, further comprising making the determination by obtaining a parameter from the media stream.
 81. The method of claim 80, wherein the parameter is a ptime parameter of Session Description Protocol (SDP).
 82. The method of claim 81, further comprising: using a first of the plural playback pointers for play out of the media stream when the ptime parameter has a first value; using a second of the plural playback pointers for play out of the media stream when the parameter has a second value.
 83. The method of claim 82, wherein the first value is twenty and the second value is one hundred sixty.
 84. The method of claim 80, further comprising: using a first of the plural playback pointers for play out of the media stream when the parameter has a low value; using a second of the plural playback pointers for play out of the media stream when the parameter has a high value.
 85. The method of claim 79, wherein the terminal is a wireless terminal that receives the media stream across a radio interface.
 86. The method of claim 79, wherein the terminal is a wireline terminal.
 87. A method of operating a terminal comprising: receiving transmissions in a form of a media stream; storing data comprising the media stream in a jitter buffer; making a determination whether plural types of media are included in the media stream; making a selection between plural playback pointers as an operative playback pointer from which the data comprising the media stream is played out of the jitter buffer based on the determination; reading out the data comprising the media stream from the jitter buffer at the operative playback pointer.
 88. The method of claim 87, further comprising using a first of the plural playback pointers for play out of the media stream when only one type of media is included in the media stream; using a second of the plural playback pointers for play out of the media stream when more than one type of media is included in the media stream.
 89. The method of claim 88, further comprising using the first of the plural playback pointers for play out of the media stream when only audio is being received in the media stream; using the second of the plural playback pointers for play out of the media stream when the audio is combined with video. 